package com.spring;/**
 * @author wdx
 * @create 2021-09-03 15:21
 */

/**
 * @author wdx
 * @date 2021年09月03日 15:21
 */
public interface BeanPostProcessor {

    /**
     * bean初始化前
     * @param bean
     * @param beanName
     * @return
     */
    Object postProcessBeforeInitialization(Object bean,String beanName);

    /**
     * bean初始化后
     * @param bean
     * @param beanName
     * @return
     */
    Object postProcessAfterInitialization(Object bean,String beanName);

}
